<? include("include/session.php"); ?>
<?
$link = mysql_connect(localhost, deb46160 , d3e01tGF) or die('Could not connect: ' . mysql_error());      //link met de database
    mysql_select_db(deb46160_PizzaRio) or die('Could not select database');        //selecteer de juiste database
	// Opvragen van order informatie.
	$sOrderId = $_SESSION['orderid']; // Uniek order ID
	$sOrderDescription = 'Order omschrijving'; // Omschrijving
	$fOrderAmount = $_SESSION['totaalprijs']; // Bedrag (in decimaal!!)
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
<form action="step2.php" method="post">
  <h1>Uw iDEAL transactie</h1>
  <p><b>Order ID:<br />
    <input type="text" name="order_id" size="30" value="<?php echo $sOrderId; ?>">
    <br />
    <br />
    Order omschrijving:<br />
    <textarea rows="8" name="order_description" cols="40"><?php echo $sOrderDescription; ?></textarea>
    <br />
    <br />
    Order bedrag:<br />
    <input name="order_amount" size="30" type="text" value="<?php echo number_format($fOrderAmount, 2, ',', ''); ?>">
    (EUR)<br />
    <br />
    <br />
    <input name="_submit" type="submit" value="verder &gt;&gt;">
    </b></p>
  <p><a href="http://www.ideal-simulator.nl">www.ideal-simulator.nl</a></p>
</form>
</body>
</html>